import Layout from "../views/layout/Layout";
export const commissionRoute = [
  {
    path: "",
    component: Layout,
    redirect: "/commission/commissionSettlement/index",
    name: "commission",
    meta: {
      title: "佣金管理"
    },
    children: [
      {
        path: "commission/commissionSettlement/index",
        name: "commissionSettlement",
        component: () => import("@/views/commission/commissionSettlement/index"),
        meta: { title: "佣金结算", icon: "ums-admin" },
        hidden: false
      },
      {
        path: "commission/settlementRules/index",
        name: "settlementRules",
        component: () => import("@/views/commission/settlementRules/index"),
        meta: { title: "结算规则", icon: "ums-admin" },
        hidden: false
      },
      {
        path: "commission/settlementRules/addProduct",
        name: "addProduct",
        component: () => import("@/views/commission/settlementRules/addProduct"),
        meta: { title: "", icon: "ums-admin" },
        hidden: true
      }
    ]
  }
];
